/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;

/**
 *
 * @author Vincent
 */
@ManagedBean(name="tableBean")
@ViewScoped
public class tableBean implements Serializable{

    private List<String> messages = new ArrayList();
    private List<String> messages1 = null;
    
    /** Creates a new instance of tableBean */
    public tableBean() {
    }

    public List<String> getMessages() {
        messages.add("abc - 20/10/2011");
        messages.add("def - 20/10/2011");
        messages.add("ghi - 20/10/2011");
        messages.add("jkl - 20/10/2011");
        messages.add("mno - 20/10/2011");
        messages.add("mno - 20/10/2011");
        messages.add("mno - 20/10/2011");
        return messages;
    }

    public void setMessages(List<String> messages) {
        this.messages = messages;
    }

    public List<String> getMessages1() {
        return messages1;
    }

    public void setMessages1(List<String> messages1) {
        this.messages1 = messages1;
    }
    
    
}
